//
//  Character+Tool.swift
//  ltsp
//
//  Created by jyvyi_ios on 2022/7/26.
//

import Foundation

extension Character{
    
    /// 是否为汉字
    /// - Returns: ～
    var isChinese : Bool{
        
        guard "\u{4E00}" <= self && self <= "\u{9FA5}" else {
            return false
        }
        return true
    }
}
